package com.guslegend.spzx.manager.service;

import com.github.pagehelper.PageInfo;
import com.guslegend.spzx.model.dto.product.ProductDto;
import com.guslegend.spzx.model.entity.product.Product;

/**
 * @author: guslegend
 * @description: 商品管理
 * @create: 2025-05-10 22:02
 **/
public interface ProductService {

    PageInfo<Product> findByPage(Integer page, Integer limit, ProductDto productDto);


    void save(Product product);

    Product getById(Long id);

    void updateById(Product product);

    void deleteById(Long id);

    void updateStatus(Long id, Integer status);
}
